//
//  KKPageControllerModel.h
//  Butler
//
//  Created by liaozhenming on 16/6/8.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, KKPageChildViewControllerType) {
    KKPageChildViewControllerTypeCustomer = 0,      /***<会员*/
    KKPageChildViewControllerTypeGoods = 1,         /***<商品*/
    KKPageChildViewControllerTypeUser = 2,          /***<员工*/
};

@interface KKPageChildViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout>

@property (nonatomic, assign) NSInteger pageIndex;

@property (nonatomic, strong) UICollectionView * collectionView;

@property (nonatomic, assign) KKPageChildViewControllerType type;

@end


@interface KKPageControllerModel : NSObject

- (KKPageChildViewController*)viewControllerWithIndex:(NSInteger)index;

@property (nonatomic, assign) KKPageChildViewControllerType type;

@end


